export const saveOpenid = value => {
	try {
		uni.setStorageSync('openid', value);
	} catch (e) {
	}
}

export const getOpenid = () => {
	try {
	    const value = uni.getStorageSync('userInfo');
	    if (value) {
	        return value.token;
	    }
		return '';
	} catch (e) {
		return '';
	}
}

